home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
pc
/
Shout3Ddemo
/
Shout3d_runtime
/
codebase
/
models
/
renderTests
/
lines_and_points_multiAppearanc
< prev
next >
Wrap
Text File
|
2000-05-30
|
3KB
|
102 lines
#VRML V2.0 utf8
# This group uses regular appearance nodesTransform { translation -4 0 0
children [
Shape {
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
geometry PointSet { pointSize 4
coord Coordinate {
point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
}
color Color {
color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
}
} } Shape {
appearance Appearance {
material Material {
emissiveColor 1 1 1
}
}
geometry IndexedLineSet { pointSize 4
coord Coordinate {
point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
} coordIndex [ 0, 1, 2, 3, -2 ]
color Color {
color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
}
} } ]}
# This group uses MultiAppearance nodes with no mapsTransform { translation 0 0 0
children [
Shape {
appearance MultiAppearance {
material Material {
emissiveColor 1 1 1
}
}
geometry PointSet { pointSize 4
coord Coordinate {
point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
}
color Color {
color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
}
} } Shape {
appearance MultiAppearance {
material Material {
emissiveColor 1 1 1
}
}
geometry IndexedLineSet { pointSize 4
coord Coordinate {
point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
} coordIndex [ 0, 1, 2, 3, -2 ]
color Color {
color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
}
} } ]}
# This group uses MultiAppearance nodes with (extraneous) mapsTransform { translation 4 0 0
children [
Shape {
appearance MultiAppearance {
material Material {
emissiveColor 1 1 1
} diffuseMap DiffuseMap { texture ImageTexture { url diffuse_s3d.jpg }}
bumpLevelMap BumpLevelMap { texture ImageTexture { url bumpmap_s3d.jpg }}
}
geometry PointSet { pointSize 4
coord Coordinate {
point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
}
color Color {
color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
}
} } Shape {
appearance MultiAppearance {
material Material {
emissiveColor 1 1 1
}
diffuseMap DiffuseMap { texture ImageTexture { url diffuse_s3d.jpg }}
bumpLevelMap BumpLevelMap { texture ImageTexture { url bumpmap_s3d.jpg }}
}
geometry IndexedLineSet { pointSize 4
coord Coordinate {
point [ -1 -1 0, 1 -1 0, 1 1 0, -1 1 0 ]
} coordIndex [ 0, 1, 2, 3, -2 ]
color Color {
color [ 1 1 0, 1 0 1, 0 1 1, 1 0 0 ]
}
} } ]}